package com.yfp.client.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yfp.client.domain.OrderMake;
import com.yfp.client.service.OrderMakeService;
import com.yfp.client.mapper.OrderMakeMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 *
 * @description 针对表【order_make】的数据库操作Service实现
 * @createDate 2024-06-24 13:39:06
 */
@Service
public class OrderMakeServiceImpl extends ServiceImpl<OrderMakeMapper, OrderMake> implements OrderMakeService {

    @Resource
    private OrderMakeMapper orderMakeMapper;

    /**
     * 根据订单明细id查询订单制作信息
     *
     * @param orderDetailId
     * @return
     */
    @Override
    public OrderMake listByOrderDetailId(String orderDetailId) {
        return orderMakeMapper.listByOrderDetailId(orderDetailId);
    }
}




